<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>无标题文档</title>
<LINK href="<{$web_host}>/common/admin/css/admin.css" type="text/css" rel="stylesheet">
<script type="text/javascript" src="<{$web_host}>/common/libs/jquery-1.9.1.js"></script>
<script type="text/javascript">
	$(function() {
		$("#form1").submit( function () {
			$("#result").val("");
			if($("#user").val() == ""){
				$("#user").focus();
				$("#result").text("标题不能为空！");
				return false;
			}
			
			if($("#pw").val() != $("#repw").val()){
				$("#pw").focus();
				$("#result").text("两次密码不一致！");
				return false;
			}
			//alert($("#newssort").val());
			if($("#realname").val() == ""){
				$("#realname").focus();
				$("#result").text("真实姓名不能为空！");
				return false;
			}
			
			
			if($("#role").val()==""){
				$("#role").focus();
				$("#result").text("请选择用户角色！");
				return false;
			}
			return true;
		} );		
	});
</script>
</head>
<style type="text/css">/* CSS Document */   
#info th {  
 border-right: 1px solid #adceff;  
 border-bottom: 1px solid #adceff;  
 border-top: 1px solid #adceff;  
 letter-spacing: 2px;  
 text-transform: uppercase;  
 text-align: left;  
 padding: 6px 6px 6px 12px;  
 background: #f4f7fc;  
}  
#info td {  
 border-right: 1px solid #adceff;  
 border-bottom: 1px solid #adceff;  
 background: #fff;  
 font-size:11px;  
 padding: 6px 6px 6px 12px;  
 
}  
#info th.spec {  
 border-left: 1px solid #adceff;  
 border-top: 0;  
 background: #fff;   
}  
</style>  
<body>
<TABLE cellSpacing=0 cellPadding=0 width="100%" align=center border=0>
  	<TR height=28><TD background="<{$web_host}>/common/admin/images/title_bg1.jpg">当前位置:用户信息</TD></TR>
  	<TR><TD bgColor=#b1ceef height=1></TD></TR>
  	<TR height=20>
    	<TD background="<{$web_host}>/common/admin/images/shadow_bg.jpg"></TD>
	</TR>
</TABLE>
<div id="info" style=" margin-left:10px;">

  
  
   
  
  
  <form id="form1" target="_self" name="form1" method="post" action="">
  
  <p>
  	<label>
  		手机号码：<input type="text" name="phone" id="phone" style="width:200px" value="<{$userInfo.admin_phone|default:""}>"  />
  	</label>
  </p>
  <br />
  <p>
  	<label>
  		邮箱地址：<input type="text" name="email" id="email" style="width:200px" value="<{$userInfo.admin_mail|default:""}>"  />
  	</label>
  </p>
  <br />
  <p>
	<label>
		真实姓名：<input type="text" name="realname" id="realname" style="width:200px" value="<{$userInfo.admin_realname|default:""}>"  />
	</label>
  </p>
  <br />
  <p>
    <label>
    	用户角色：<{$userInfo.role_name}>
    </label>
  </p>
  <br />
  <input type="submit" name="Submit" value="修改" /><font id="result" color="#CC0000"><{$result|default:""}></font>
  </form>
  <br />
	<hr />

	近期登陆情况：	
		<table id="mytable" cellspacing="0" >  
		  <tr>  
		    <th scope="col" width="100px" style="border-left:1px solid #adceff;" >真实姓名</th>  
		    <th scope="col" width="150px" >手机号码</th> 
		    <th scope="col" width="200px" >邮箱号码</th>
		    <th scope="col" width="200px" >登陆时间</th> 
		    <th scope="col" width="200px" >登陆ip</th>   
		  </tr>  
		  <{section name=ll loop=$logList.list}>
		  <tr >
		    <td style="border-left:1px solid #adceff;" ><{$logList.list[ll].admin_realname}></td>
		    <td><{$logList.list[ll].admin_phone}></td>
		    <td><{$logList.list[ll].admin_mail}></td>
		    <td><{$logList.list[ll].log_time}></td>
		    <td><{$logList.list[ll].log_ip}></td>
		  </tr>  
		  <{sectionelse}>
		  <tr>
		    <th class="spec" colspan="5">暂无记录</td>
		  </tr>
		  <{/section}>
		</table>  
		<{page info=$logList web_host=$web_host web_app_url=$web_app_url url="/account/myinfo"}>
</div>
</body>
</html>
